home *** CD-ROM | disk | FTP | other *** search
- Path: sundog.tiac.net!usenet
- From: mao@tiac.net (Mark A. Odell)
- Newsgroups: comp.lang.c
- Subject: Re: #define "creating" strings ?
- Date: Thu, 14 Mar 1996 23:14:31 GMT
- Organization: None!
- Message-ID: <3148a7e9.151398579@news>
- References: <Do9tsI.H2t@undergrad.math.uwaterloo.ca> <4ia60f$dhq@ringer.cs.utsa.edu>
- Reply-To: mao@tiac.net
- NNTP-Posting-Host: cygnus.tiac.net
- X-Newsreader: Forte Agent .99d/32.182
-
- On 14 Mar 1996 22:18:55 GMT, nreitzel@lonestar.jpl.utsa.edu (Norman L. Reitzel
- ) wrote:
-
- >In article <Do9tsI.H2t@undergrad.math.uwaterloo.ca> crpalmer@solo.uwaterloo.ca (Chris Palmer) writes:
- >>I have a problem that I would like to solve using a "feature" of the C
- >>preprocessor that until now I've never seen or heard of. A book that we have
- >>here gives the example:
-
- [snip]
-
- >IMHO, this is an error prone practice, in a language that is ripe with
- >things that can be error prone. Why would one want to substitute the
- >expression MAKESTRING(nuts) for the equivalent and obvious syntax, "nuts" ?
-
- I agree. IMHO, macros have limited _safe_ use. Try to have the compiler in-line
- if speed is of great importance. Function calls if size is more important.
-
-
-
-
-
-
- - Mark
- +---------------------------------------------------+
- | |
- | Mark A. Odell mao@tiac.net |
- | |
- +---------------------------------------------------+
-